package com.xqledu.admin.entry.enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @description: 响应信息枚举 
 * @author: 向其林
 * @date: 2023/5/5 0005 22:31
 * @version: 1.0
 **/
@AllArgsConstructor
@Getter
@ToString
public enum StatusEnum {
    //通用模块
    SUCCESS(200,"SUCCESS"),
    ERROR(500,"ERROR"),
    //登录模块
    LOGIN_ERROR(500210, "用户名或者密码错误"),
    MOBILE_ERROR(500211, "手机号码格式不正确"),
    BING_ERROR(500212, "参数绑定异常"),
    MOBILE_NOT_EXIST(500213, "手机号码不存在"),
    PASSWORD_UPDATE_FAIL(500214, "更新密码失败");

    private final Integer code;
    private final String message;
}
